﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.OracleClient;
namespace Project.dalSql
{
    public class SqlObject
    {
        /// <summary>
        /// 要执行的的SQL语句
        /// </summary>
        private String _Sql;

        public String Sql
        {
            get { return _Sql; }
            set { _Sql = value; }
        }
        /// <summary>
        /// 执行SQL语句时需要的参数列表
        /// </summary>
        private List<SqlParameter> _SqlParam;
        public List<SqlParameter> SqlParam
        {
            get { return _SqlParam; }
            set { _SqlParam = value; }
        }
        /// <summary>
        /// SQL语句后跟的参数列表
        /// </summary>
        private SqlParameter[] _PramS;

        public SqlParameter[] PramS
        {
            get { return _PramS; }
            set { _PramS = value; }
        }
    }
    public class OracleObject
    {
        private String _Sql;

        public String Sql
        {
            get { return _Sql; }
            set { _Sql = value; }
        }
        private OracleParameter[] _PramS;

        public OracleParameter[] PramS
        {
            get { return _PramS; }
            set { _PramS = value; }
        }
    }
    public class SqlthousandObject
    {
        private String _Sql;

        public String Sql
        {
            get { return _Sql; }
            set { _Sql = value; }
        }
        private SqlParameter[] _PramS;

        public SqlParameter[] PramS
        {
            get { return _PramS; }
            set { _PramS = value; }
        }
    }

}
